/*
 * DOMExceptionPtrImp.h
 *
 *  Created on: Apr 19, 2009
 *      Author: wrice
 */

#ifndef DOMEXCEPTIONIMPL_H_
#define DOMEXCEPTIONIMPL_H_
#include "DOMCoreImp.h"
namespace DOMCoreImp {

class DOMExceptionImp : IMPLEMENTS( DOMException ) {
public:
	DOMExceptionImp(unsigned short code) : code_(code) {}

	virtual unsigned short   getCode() { return code_; }

private:
	const unsigned short code_;
};

}

#endif /* DOMEXCEPTIONIMPL_H_ */
